package com.white.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.white.bean.Report;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ReportMapper extends BaseMapper<Report> {
    String TABLE_NAME = " report ";

    @Insert("insert" + TABLE_NAME + "(userId, reportUserId) values(#{userId}, #{reportUserId})")
    void create(Report report);
}
